Control statement with user input